<?php
class AddressBookField extends AppModel
{
    var $name = 'AddressBookField';
	var $belongsTo = array('City','State','Country');
    var $validate = array(
        'first_name'=>array(
            'rule'=>'notEmpty'
        ),
        'last_name'=>array(
            'rule'=>'notEmpty'
        ),
        'address_line_1'=>array(
            'rule'=>'notEmpty'
        ),
        'city'=>array(
            'rule'=>'notEmpty'
        ),
        'state'=>array(
            'rule'=>'notEmpty'
        ),
        'country'=>array(
            'rule'=>'notEmpty'
        ),
        'phone'=>array(
            'rule'=>'notEmpty'
        ),
        'zip'=>array(
            'rule'=>'notEmpty'
        ),
        'email'=>array(
            'rule'=>'email'
        ),

    );
}

?>
